//
//  RSWDataOperation.h
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 16/10/24.
//  Copyright © 2016年 com.rs. All rights reserved.
//

#import "RSWRESTService.h"

#import "EntAddressBookContact.h"
#import "MyInfo.h"
#import "RSWRESTService+Login.h"

@interface RSWDataOperation : XMSBusinessDataRequestManager

-(void)modifyMyinfoByInfo:(MyInfo*)myInfo headFilePath:(NSString*)headFilePath completion:(void(^)(NSInteger nResult,BOOL bResult,NSError *error))completion;

-(void)modifyUserHeadImage:(NSString*)filePath logoURL:(NSString*)logoURL completion:(void(^)(NSInteger nResult,BOOL bResult,NSError *error))completion;

-(void)modifyPasswordWithOldPassword:(NSString*)oldPassword newPassword:(NSString*)newPassword completion:(void(^)(NSInteger nResult,BOOL bResult,NSError *error))completion;

- (NSArray*) uploadImage:(NSArray*)imgArray paras:(NSArray*)paras;

-(void)userFeedBackWithFeedContent:(NSString*)content completion:(void(^)(NSInteger nResult,BOOL bResult,NSError *error))completion;

-(void)getOnlineUserListCompletion:(void (^)(NSInteger, NSArray *,NSError *error))completion;

-(XMSQueueDictionary*)groupBySortPinyinPorperty:(NSArray*)contacts;

-(void)getEntAddressBookContactDetialWithContactNumber:(NSArray*)contactNumbers sort:(BOOL)sort completion:(void (^)(NSInteger nResult, NSArray *arList))completion;

-(void)getEntAddressBookWithRefresh:(BOOL)bRefresh completion:(void(^)(NSInteger nResult,XMSQueueDictionary *list,NSError *error))completion;

- (NSString *)localPassword:(NSString *)szPath;

- (NSInteger)newlocalPassword:(NSString*)password;

@end

